import {
    ICoreField,
    ICoreFieldListParameter,
    ICoreFieldSaveBatch
} from '@/types/core/field'
import http from '@/utils/http'

export function coreFieldList(parameter: ICoreFieldListParameter) {
    return http.get<ICoreField[]>('/api/66ff72877f149', parameter)
}

export function coreFieldSaveBatch(parameter: ICoreFieldSaveBatch) {
    return http.post('/api/66ff732c0e02a', parameter)
}
